<?php
/**
 * Traits Answer
 * User: Administrator
 * Date: 2020/2/14 0014
 * Time: 下午 10:24
 */
namespace app\api\traits\model\questions;

Trait Answer{

    public function opt()
    {
        return $this->hasMany('Opt', 'aid');
    }

}